@charset "utf-8";
@import './variables.scss';

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

body,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
div,
select,
a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  background: #fff;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  min-width: 320px;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  padding-top: constant(safe-area-inset-top);
  padding-left: constant(safe-area-inset-left);
  padding-right: constant(safe-area-inset-right);
  padding-bottom: constant(safe-area-inset-bottom);
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet {
  outline: none;
}

a {
  color: #333;
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

em {
  font-style: normal
}

ul {
  list-style: none
}

img {
  border: 0;
  vertical-align: middle
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

p {
  word-wrap: break-word
}

i {
  display: inline-block;
  font-style: normal;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
  outline: none;
  -moz-outline: none;
}

textarea {
  -webkit-appearance: none;
  resize: none;
}

input,
button,
select,
textarea {
  outline: none;
  -webkit-appearance: none;
}

input {
  &[type="number"] {
    -moz-appearance: textfield;
  }

  &::-webkit-outer-spin-button,
  &::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
  }
}

textarea {
  resize: none;
}

select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.clearFix {
  *zoom: 1;
}

.clearFix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.after:after {
  content: "";
  display: block;
}

.before::before {
  content: "";
  display: block;
}

.transition-03 {
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.noscroll {
  overflow: hidden;
  height: 100%;
  padding-right: 20px;
}

// $breakpoints: ('portrait': 'screen and (orientation:portrait)',
//   'landscape': 'screen and (orientation:landscape)',
//   'iphone5': 'only screen and ( max-width: 350px)',
//   'xs': 'only screen and ( max-width: 479px)',
//   'sm': 'only screen and ( max-width: 767px)',
//   'max839': 'only screen and ( max-width: 839px)',
//   'md': 'only screen and ( max-width: 991px)',
//   'max1100': 'only screen and ( max-width: 1100px)',
//   'lg': 'only screen and ( max-width: 1199px)',
//   'max1365': 'only screen and ( max-width: 1365px)',
//   'max1366': 'only screen and ( max-width: 1366px)',
//   'max1439': 'only screen and ( max-width: 1439px)',
//   'max1440': 'only screen and ( max-width: 1440px)',
//   'max1580': 'only screen and ( max-width: 1580px)',
//   'max1799': 'only screen and ( max-width: 1799px)',
//   'minsm': 'only screen and ( min-width: 768px)',
//   'xsh': 'only screen and ( max-height: 479px)',
//   'iphoneXL': 'only screen and (min-width: 812px) and (orientation: landscape)',
// ) !default;

// @mixin respond-to($breakpoint) {
//   $query: map-get($breakpoints, $breakpoint);

//   @if not $query {
//     @error 'No value found for `#{$breakpoint}`. Please make sure it is defined in `$breakpoints` map.';
//   }

//   @media #{if(type-of($query) == 'string', unquote($query), inspect($query))} {
//     @content;
//   }
// }

// @include respond-to(max1439) {
//     html {
//         font-size: 58%;
//     }
// }
// @include respond-to(max1365) {
//     html {
//         font-size: 53%;
//     }
// }
// @include respond-to(lg) {
//     html {
//         font-size: 50%;
//     }
// }
// @include respond-to(md) {
//     html {
//         font-size: 50%;
//     }
// }